from django.contrib import admin
from .models import Tasks


@admin.register(Tasks)
class TaskAdmin(admin.ModelAdmin):
    list_display = ['id', 'subjects', 'sender', 'status', 'operator', 'update_time', 'svn_address', 'task_id',
                    'task_status', 'comment']
    search_fields = list_display
